package com.guodu.service;

import java.util.List;

import com.guodu.entity.MaterialGhyc;
import com.guodu.entity.MaterialghycStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.GhycVo;
import com.guodu.vo.MaterialGhycQueryVo;
import com.guodu.vo.MaterialGhycVo;


public interface MaterialGhycService {
	List<MaterialGhycVo> findByVo(MaterialGhycQueryVo materialGhycQueryVo,Units units,int curPage , int pageSize);
	List<MaterialGhyc> findAllByVo(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	int findSizeByVo(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	MaterialGhyc findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialGhyc entity);
	void update(MaterialGhyc entity);
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	List<MaterialghycStatus> findStatus(String id);
	GhycVo findAllMoney(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	boolean examinAll(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	boolean huituiAll(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	boolean shanchuAll(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	boolean allBack(MaterialGhycQueryVo materialGhycQueryVo,Units units);
}
